//
//  HomePageCell.m
//  DaMaoMall
//
//  Created by HXHL-wally on 16/7/8.
//  Copyright © 2016年 daMao-wally. All rights reserved.
//

#import "HomePageCell.h"
#import "ReactiveCocoa.h"

@interface HomePageCell ()

@property (strong, nonatomic)  UILabel *userName;
@property (strong, nonatomic)  UILabel *date;
@property (strong, nonatomic)  UIImageView *headImageView;
@property (strong, nonatomic)  UITextView *weiboText;


@end
@implementation HomePageCell


-(void) setValueWithDic : (PublicModel *) publicModel
{
    _userName.text = publicModel.userName;
    _date.text = publicModel.date;
    _weiboText.text = publicModel.text;
//    [_headImageView setImageWithURL:publicModel.imageUrl];
    [_headImageView sd_setImageWithURL:publicModel.imageUrl];
    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];
    
    // Configure the view for the selected state
}



@end